//
//  HomeTableViewCell.m
//  XiJianChui
//
//  Created by Mac on 16/7/18.
//  Copyright © 2016年 FanShuHan. All rights reserved.
//

#import "HomeTableViewCell.h"
#import "HomeCellModel.h"

@interface HomeTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *name;

@end

@implementation HomeTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setModel:(HomeCellModel *)model {
    _model = model;
    _icon.image = [UIImage imageNamed:model.icon];
    _name.text = model.name;
}

@end
